{% extends "core/base_core.html" %}
{% block title %} - 社区活动广播{% endblock %}
{% block extra_head %}
	<link rel="alternate" type="application/rss+xml" title="所有新闻" href="/feed/posts" />
{% endblock %}
{% block content %}
  {% load markup %}
  <div id="content" class="content">
    <div class="container_16">
      <p class="bread-crumb">所有新闻</p>
      {% include 'pagination.html' %}
      <ul class="posts">
        {% for post in posts %}
          <li class="post">
            <h2 class="post-title post-title_{{ post.style_seed }}">
              <a href="{% url view_post_by_name name=post.post_name %}">{{ post.title }}</a>
              <span class="meta"><span class='created-at'>{{ post.created_at|date }}</span></span>
            </h2>
            <div class="description">{{ post.summary|restructuredtext }}</div>
          </li>
        {% endfor %}
      </ul>
      {% include 'pagination.html' %}
    </div>
  </div>

{% endblock %}
